package nl.unimaas.micc.umsnooker.simulation.event;

import java.util.Collections;
import java.util.Map;
import java.util.Set;

import nl.unimaas.micc.umsnooker.domain.BilliardBall;

public abstract class SingleBallEvent extends Event
{
	private BilliardBall ball;
	
	public SingleBallEvent(float time, BilliardBall ball)
	{
		super(time, Collections.singleton(ball));
		this.ball = ball;
	}

	public BilliardBall getBall()
	{
		return ball;
	}
}
